import http from '@/utils/fetch'

/**
 * 推广员管理
 */
// 推广列表
export function getPromoterList(params) {
  return http.get('/Admin/Promoter/getPromoterList', params)
}
// 添加推广员
export function addPromoter(params) {
  return http.post('/Admin/Promoter/addPromoter', params)
}
// 修改推广员密码
export function changePromoterPW(params) {
  return http.post('/Admin/Promoter/changePromoterPW', params)
}
// 修改推广员分成
export function editPromoterFC(params) {
  return http.post('/Admin/Promoter/editPromoter', params)
}

export function changePromoterText(params) {
  return http.post('/Admin/Promoter/changePromoterText', params)
}
